#include "classroomadmin.h"


ClassroomAdmin::ClassroomAdmin()
{
    m_idA.clear();
    m_nameA.clear();
    m_sexA.clear();
}

ClassroomAdmin::ClassroomAdmin(const QString &idA,const QString &nameA,
                               const QString &sexA)
{
    m_idA = idA;
    m_nameA = nameA;
    m_sexA = sexA;
}

ClassroomAdmin::~ClassroomAdmin()
{

}
void ClassroomAdmin::display() const
{
    qDebug() << "--------------Disp ClassroomAdmin---------------";
    qDebug() << "idA: " << m_idA;
    qDebug() << "nameA: " << m_nameA;
    qDebug() << "sexA: " << m_sexA;
    qDebug() << "--------------ClassroomAdmin End----------------";
}

void ClassroomAdmin::setidA(const QString &idA)
{
    m_idA = idA;
}
const QString &ClassroomAdmin::getidA() const
{
    return m_idA;
}

void ClassroomAdmin::setnameA(const QString &nameA)
{
    m_nameA = nameA;
}
const QString &ClassroomAdmin::getnameA() const
{
    return m_nameA;
}

void ClassroomAdmin::setsexA(const QString &sexA)
{
    m_sexA = sexA;
}
const QString &ClassroomAdmin::getsexA() const
{
    return m_sexA;
}
